Skip to content

DOC: Delete cookbooks directory and fix cross-references - PR #3#1580

Merged
varunj-msft merged 1 commit intomicrosoft:mainfrom
varunj-msft:varunj-msftvarunj-msft/7933-Migrate-cookbooks-to-scenarios-PR3
Apr 8, 2026
Merged

DOC: Delete cookbooks directory and fix cross-references - PR #3#1580
varunj-msft merged 1 commit intomicrosoft:mainfrom
varunj-msft:varunj-msftvarunj-msft/7933-Migrate-cookbooks-to-scenarios-PR3

Conversation

@varunj-msft
Copy link
Copy Markdown
Contributor

Description

Completes User Story #7933 (Migrate Cookbooks to Scenarios). This is PR 3 of 3.

All cookbook content was migrated in PR #1 (#1558) and PR #2 (#1564). This PR deletes the now-redundant doc/cookbooks/ directory and fixes all cross-references that pointed to it.

Deleted:

doc/cookbooks/ - all 11 files (5 .py, 5 .ipynb, README.md)
tests/integration/test_notebooks_cookbooks.py - test runner for deleted notebooks
Cross-references updated:

doc/myst.yml - removed cookbooks TOC section and site nav entry
doc/getting_started/README.md - removed cookbooks link (Scenarios link already exists)
doc/code/setup/1_configuration.py + .ipynb - cookbook links → 9_baseline_only.ipynb
doc/blog/2025_02_11.md - cookbook link → 9_baseline_only.ipynb
doc/generate_docs/pct_to_ipynb.py - removed "cookbooks" from included_dirs

Tests and Documentation

Full repo search confirms zero remaining cookbooks/ cross-references in source files.
ruff check passes on all modified .py files.
myst.yml validates as clean YAML with no orphan TOC entries.
All migrated replacement notebooks still pass integration tests (9_baseline_only, 5_simulated_conversation, 2_bias_benchmark).
No JupyText regeneration needed - this PR only deletes files and updates text references.

Copy link
Copy Markdown
Contributor

@behnam-o behnam-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thank you!

@varunj-msft varunj-msft merged commit 800bc4e into microsoft:main Apr 8, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants